#ifndef DB_H
#define DB_H

#include <QtSql>
#include <QStringList>
#include <QString>

class Db
{
private:
    QSqlDatabase db;
    
public:
    bool openDatabase(QString dbPath);
    QStringList getTables();
    QList<QStringList> getResultForTable(QString& tableName);
};

#endif // DB_H
